package com.woniuxy.service;

import com.woniuxy.controller.info.DefectStateIdAndState;
import com.woniuxy.controller.form.DefecttypeForm;
import com.woniuxy.controller.form.StateForm;
import com.woniuxy.controller.info.DefectstateNamesInfo;
import com.woniuxy.controller.info.StateInfo;
import com.woniuxy.controller.info.TypeInfo;
import com.woniuxy.model.Defectstate;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 马世亮
 * @since 2022-02-15
 */
public interface DefectstateService extends IService<Defectstate> {
    public boolean change(StateForm stateForm);

    public List<StateInfo> findAll();

    List<DefectStateIdAndState> getdefectStateIsOk();
    public Integer add(StateForm stateForm);

    public Integer delectByIds(List<Integer> ids);

    public Integer changeState(StateForm stateForm);

    List<DefectStateIdAndState> getDefectNoInitState();

    List<StateInfo> selectByState(String sign);

    List<DefectstateNamesInfo> getChoiceStates();
}
